<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<%--
  Created by IntelliJ IDEA.
  User: Time
  Date: 2023/5/16
  Time: 9:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <th>编号</th>
        <th>密码</th>
        <th>姓名</th>
        <th>邮箱</th>
        <th>操作</th>
    </tr>
    <c:forEach var="trm" items="${list}">
    <tr>
        <td>${trm.employeeNo}</td>
        <td>${trm.password}</td>
        <td>${trm.name}</td>
        <td>${trm.email}</td>
        <td><a href="${pageContext.request.contextPath}/del?id=${trm.id}">删除</a> </td>
    </tr>
    </c:forEach>
</table>
</body>
</html>
